import React, { Component } from 'react';

class CommentsLi extends Component {
    render() {
        return (
            <div>
                 <li>
                <div className="l">
                    <img
                      src={this.props.data.url}
                      width="40"
                    />
                    <br />{this.props.data.name}
                </div>
                <div className="r">
                  <div className="t">
                    <span className="xing" />
                    <span className="time">{this.props.data.date}</span>
                  </div>
                  <div className="b">
                   {this.props.data.content}
                  </div>
                </div>
              </li>
            </div>
        );
    }
}

export default CommentsLi;
